package com.panda.utils;

import java.util.LinkedList;
import java.util.List;
import java.util.Map;

public class DataFormatUtil {
    public static List<LinkedList<String>>  twoDimensionListSort(List<Map<String, String>> mapList){
        LinkedList<LinkedList<String>> linkedList = new LinkedList<>();
        for(Map<String, String> map : mapList){
            LinkedList<String> list = new LinkedList<>();
            for (String key : map.keySet()){
                list.addFirst(map.get(key));
            }
            linkedList.addFirst(list);
        }
        return linkedList;
    }
}
